package com.lovo.roomProject.room.service;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.FacilityDO;
import com.lovo.roomProject.pojo.RoomDO;

import java.util.List;

public interface RoomService {
        List listRoomByType(String type);
        List listRoom();
        void insert(RoomDO roomDO);

        void delete(int id);
        RoomDO getById(int id);
        List getStudent(int id);
        CutPageBean listRoomByPage(int current,String addr,String status,String enableRoom,String roomType);
        List listFacility(int roomId);
        void insertFacility(FacilityDO facilityDO, int roomId);
        void updateFacility(int roomId);
        List updateRoomStatus(int roomId);
}
